package com.lxmes.gs.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.*;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 项目统计对象 gs_project_statistics
 * 
 * @author wdf
 * @date 2023-04-24
 */
@Data
@TableName("gs_project_statistics")
public class ProjectStatistics{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 立项编号 */
    @TableField(value = "approval_code",condition = SqlCondition.LIKE)
    private String approvalCode;

    /** 立项名称 */
    @TableField(value = "approval_name",condition = SqlCondition.LIKE)
    private String approvalName;

    /** 批准文号 */
    @TableField(value = "approval_number",condition = SqlCondition.LIKE)
    private String approvalNumber;

    /** 批准单位 */
    @TableField(value = "approval_unit")
    private String approvalUnit;

    /** 批准人 */
    @TableField(value = "approval_person")
    private String approvalPerson;

    /** 项目类型 */
    @TableField(value = "project_type")
    private String projectType;

    /** 项目说明 */
    @TableField(value = "project_description")
    private String projectDescription;

    /** 项目规模 */
    @TableField(value = "project_scale")
    private String projectScale;

    /** 项目进度 */
    @TableField(value = "project_progress")
    private String projectProgress;

    /** 项目总预算 */
    @TableField(value = "project_total_budget")
    private Double projectTotalBudget;

    /** 预算完成数 */
    @TableField(value = "budget_completion")
    private Double budgetCompletion;

    /** 计划工时 */
    @TableField(value = "planned_working_hours")
    private Double plannedWorkingHours;

    /** 完成工时 */
    @TableField(value = "completed_hours")
    private Double completedHours;

    /** 计划用人 */
    @TableField(value = "planned_personnel")
    private Long plannedPersonnel;

    /** 实际用人 */
    @TableField(value = "actual_personnel")
    private Long actualPersonnel;

    /** 计划状态 */
    @TableField(value = "plan_status")
    private String planStatus;

    /** 完成状态 */
    @TableField(value = "completion_status")
    private String completionStatus;

    /** 变更类型 */
    @TableField(value = "change_type")
    private String changeType;

    /** 变更说明 */
    @TableField(value = "change_description")
    private String changeDescription;

    /** 变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "change_time")
    private Date changeTime;

    /** 备注 */
    @TableField(value = "remark")
    private String remark;


}
